package com.probox.common.entity.mapper.platfom;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.probox.common.entity.domain.platfom.PlatformStore;
import com.probox.platform.api.domain.PlatformStoreVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 门店信息Mapper接口
 *
 * @author usoft
 * @date 2021-08-20
 */
public interface PlatformStoreMapper extends BaseMapper<PlatformStore> {
    /**
     * 门店下拉列表
     *
     * @param platformUid
     * @return
     */
    List<PlatformStoreVo> listSelect(@Param("platformUid") Long platformUid);

    /**
     * 小程序首页门店下拉数据
     * @param platformUid
     * @return
     */
    List<PlatformStoreVo> appletHomeList(@Param("platformUid") Long platformUid);

    List<PlatformStore> listSelectSelf(long store, long group);//废弃

    List<PlatformStore> selectLife(Long storeGroupId);
}
